package model

import (
	"database/sql"
	"time"
)

type CrmReport struct {
	ResCommon
	MessageMainAttachmentId sql.NullInt64
	Name                    string
	ParentId                sql.NullInt64
	DateOrder               time.Time
	Date                    sql.NullTime
	Note                    sql.NullString
	UserId                  int64
	User                    ResUsers
	ManagerId               sql.NullInt64
	CompanyId               int64
	TeamId                  sql.NullInt64
	Team                    CrmTeam
	RefId                   sql.NullString
	Type                    string
	Yesterday               sql.NullString
	Today                   sql.NullString
	Tomorrow                sql.NullString
	SpNo                    sql.NullString
	State                   string
	ApprovalType            string
}
